package com.system.xingzhi.dao.mapper;

import com.system.xingzhi.model.User;

import java.util.List;
import java.util.Map;

public interface UserMapper {
    int deleteByPrimaryKey(String userId);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(String userId);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);

    List<User> selectByParameter(String keyWord);

    User selectByNameAndPassword(Map<String,String> map);
}